﻿using System;
using System.Text;

namespace _1___UTFSequenceencoding
{
    class Program
    {
        static void method(string source)
        {
            byte[] bytes = Encoding.UTF8.GetBytes(source);
            foreach (var item in bytes)
            {
                Console.Write("\\x{0:X}", item);
            }
            Console.WriteLine();
        }

        static void Main()
        {
            method("Hi!");
        }
    }
}
